import request from '@/utils/request'

// 查询指标框架制定
export function apply(params) {
  return request({
    url: '/ZhiBiao/getoneAll',
    method: 'get',
    params: params
  })
}

//nh
export function add(data) {
  return request({
      url: '/ZhiBiao/insertZhiBiao',
      method: 'post',
      data: data
      data: data
  })
}
export function update(data) {
  return request({
      url: '/ZhiBiao/updateZhiBiao',
      method: 'put',
      data: data
     
  })
}

export function dele(data) {
  return request({
      url: '/ZhiBiao/updatedeleteZhiBiao',
      method: 'delete',
      data: data
  })
}
export function getYear(params) {
  return request({
      url: '/ZhiBiao/getZhiBiaoByYear',
      method: 'get',
      params: params
  })
}